package com.itheima.service.impl;

import com.itheima.dao.UserDao;
import com.itheima.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Author 王加鑫
 * @Date 2021/7/22 20:29
 * @Since JDK 1.9
 */
@Service
public class UserServiceImpl implements UserService {

    @Autowired
    private UserDao dao;


    public void save() {
        System.out.println("UserServiceImpl save ...");
        dao.save();
    }
}
